package entity;

import java.io.Serializable;
import java.util.Date;

public class Warehouse_Product implements Serializable {
	private static final long serialVersionUID = -9013404544575313963L;
	private Integer wp_id;//商品库存ID
	private Integer product_id;//商品ID
	private Integer current_cnt;//当前商品数量
	private Date modified_time;//最后修改时间
	private String model_name;//型号名称
	private String model_id;//型号id
	private Integer score;

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getModel_name() {
		return model_name;
	}

	public void setModel_name(String model_name) {
		this.model_name = model_name;
	}

	public String getModel_id() {
		return model_id;
	}

	public void setModel_id(String model_id) {
		this.model_id = model_id;
	}

	public Integer getWp_id() {
		return wp_id;
	}

	public void setWp_id(Integer wp_id) {
		this.wp_id = wp_id;
	}

	public Integer getProduct_id() {
		return product_id;
	}

	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}

	public Integer getCurrent_cnt() {
		return current_cnt;
	}

	public void setCurrent_cnt(Integer current_cnt) {
		this.current_cnt = current_cnt;
	}

	public Date getModified_time() {
		return modified_time;
	}

	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}

	public Warehouse_Product() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Warehouse_Product(Integer product_id, Integer current_cnt, Date modified_time) {
		super();
		this.product_id = product_id;
		this.current_cnt = current_cnt;
		this.modified_time = modified_time;
	}

	@Override
	public String toString() {
		return "Warehouse_Product{" +
				"wp_id=" + wp_id +
				", product_id=" + product_id +
				", current_cnt=" + current_cnt +
				", modified_time=" + modified_time +
				", model_name='" + model_name + '\'' +
				", model_id='" + model_id + '\'' +
				'}';
	}
}
